<?php /* Smarty version 2.6.2, created on 2011-09-22 00:55:33
         compiled from bookmarks.tpl */ ?>
<div class="MainContent">
<div class="box1 Box1Style2"><span class="Box1Text">My hyips</span></div>
<div class="box2" style="padding:8px;">
		<?php if ($this->_tpl_vars['userinfo']['logged']): ?> 
			<?php if (! $this->_tpl_vars['listings']): ?>
					<b>Currently there are no programs in the My HYIPs yet!</b>
			<?php endif; ?> 
			<?php if ($this->_tpl_vars['say'] == 'deleted'): ?>
				<b style="color: green;">Listing has been deleted!</b>
			<?php endif; ?> 
			<?php if ($this->_tpl_vars['say'] == 'added'): ?>
				<b style="color: green;">Listing has been added to My HYIPs!</b>
			<?php endif; ?> 
			<?php if ($this->_tpl_vars['say'] == 'already_added'): ?>
				<b style="color: red;">This Listing alreadey added!</b>
			<?php endif; ?> 
			<?php if (isset($this->_sections['l'])) unset($this->_sections['l']);
$this->_sections['l']['name'] = 'l';
$this->_sections['l']['loop'] = is_array($_loop=$this->_tpl_vars['listings']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['l']['show'] = true;
$this->_sections['l']['max'] = $this->_sections['l']['loop'];
$this->_sections['l']['step'] = 1;
$this->_sections['l']['start'] = $this->_sections['l']['step'] > 0 ? 0 : $this->_sections['l']['loop']-1;
if ($this->_sections['l']['show']) {
    $this->_sections['l']['total'] = $this->_sections['l']['loop'];
    if ($this->_sections['l']['total'] == 0)
        $this->_sections['l']['show'] = false;
} else
    $this->_sections['l']['total'] = 0;
if ($this->_sections['l']['show']):

            for ($this->_sections['l']['index'] = $this->_sections['l']['start'], $this->_sections['l']['iteration'] = 1;
                 $this->_sections['l']['iteration'] <= $this->_sections['l']['total'];
                 $this->_sections['l']['index'] += $this->_sections['l']['step'], $this->_sections['l']['iteration']++):
$this->_sections['l']['rownum'] = $this->_sections['l']['iteration'];
$this->_sections['l']['index_prev'] = $this->_sections['l']['index'] - $this->_sections['l']['step'];
$this->_sections['l']['index_next'] = $this->_sections['l']['index'] + $this->_sections['l']['step'];
$this->_sections['l']['first']      = ($this->_sections['l']['iteration'] == 1);
$this->_sections['l']['last']       = ($this->_sections['l']['iteration'] == $this->_sections['l']['total']);
?> 
				<?php $this->assign('listing', $this->_tpl_vars['listings'][$this->_sections['l']['index']]); ?> 
				<?php if ($this->_tpl_vars['listing']['group_id'] == $this->_tpl_vars['premiumGroupId'] || $this->_tpl_vars['listing']['group_id'] == $this->_tpl_vars['scamGroupId'] || $this->_tpl_vars['listing']['group_id'] == $this->_tpl_vars['closeGroupId']): ?> 
					<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "details_program.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> <?php endif; ?> <?php endfor; endif; ?>
		<?php else: ?>
		<div class="list_side">
		<b>Only available to registered users</b>
		</div>
		<?php endif; ?>
</div>
</div>